<%@ page language="java" pageEncoding="UTF-8"%>

<div ng-controller="BlogRecommendIndexController">
	<div class="panel panel-default" ng-show="blog.data!=null && blog.data.length!=0">
		<div class="panel-heading">
			最新推荐博客
			<span class="pull-right">
				<a ng-href="#/blog/recommend">更多»</a>
			</span>
		</div>
		<div class="panel-body">
			<table class="table table-hover">
				<tr ng-repeat="blog in blog.data">
					<td>
						<a ng-href="#/blog/{{blog.id}}" title="{{blog.title | textOnly}}">
							{{blog.title | summary:80}}
						</a>
					</td>
				</tr>
			</table>
		</div>
	</div>
</div>